home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
program
/
skeleton.zip
/
MakeFile
< prev
next >
Wrap
Makefile
|
1996-06-02
|
1KB
|
50 lines
PROJECT = Skeleton
OBJ_CORE = WinMain.obj WndProc.obj Msg.obj Misc.obj About.obj
OBJ_MORE = StatBar.obj ToolBar.obj CmdFile.obj
RESOURCES = Icon.ico
ALL: $(PROJECT).exe $(PROJECT).hlp
# Definition of assembler and linker options ****************************
!IFDEF debug
AssemblerOptions = /c /coff /Zi
LinkerOptions = /DEBUGTYPE:COFF /DEBUG:MAPPED,FULL
!ELSE
AssemblerOptions = /c /coff
LinkerOptions =
!ENDIF
# Inference rule for updating object files ******************************
.asm.obj:
C:\MASM611\BIN\ML $(AssemblerOptions) $<
# Build rule for executable *********************************************
$(PROJECT).exe: $(OBJ_CORE) $(OBJ_MORE) Resource.res
C:\MSDEV\BIN\LINK $(LinkerOptions) @<<LinkFile
/MACHINE:i386
/SUBSYSTEM:WINDOWS,4.0
/ENTRY:Start
/OUT:$(PROJECT).exe
$(OBJ_CORE)
$(OBJ_MORE)
Resource.res
C:\MSTOOLS\LIB\USER32.LIB
C:\MSTOOLS\LIB\KERNEL32.LIB
C:\MSTOOLS\LIB\GDI32.LIB
C:\MSTOOLS\LIB\COMDLG32.LIB
C:\MSTOOLS\LIB\COMCTL32.LIB
<<NOKEEP
# Build rule for resource file ******************************************
Resource.res: Resource.rc $(RESOURCES)
C:\MSTOOLS\BIN\RC Resource.rc
# Build rule for help file **********************************************
$(PROJECT).hlp: HelpFile.hpj HelpFile.rtf $(PROJECT).cnt
C:\MSTOOLS\BIN\HCW HelpFile.hpj
# Delete intermediate files *********************************************
Clean:
Erase *.obj
Erase *.res